package com.itheima;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class UserTestBootApplication implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(UserTestBootApplication.class, args);
    }

    @Override
    public void run(String... args) throws Exception {
        //在程序启动时，自动触发，可以实现数据预加载
        //空间换时间
        System.out.println("测试");
    }
}
